/**
 * Copyright (c) 2019 xstgongyi.org
 * All rights reserved.
 */
package org.xstgongyi.eduaid.service;

import java.util.List;

import org.xstgongyi.eduaid.dataobject.SponsorDO;

/**
 * @author oldcrane<br/>
 * @created 2019-04-17
 */
public interface SponsorService {

	void insert(SponsorDO sponsor);

	void update(SponsorDO sponsor);

	SponsorDO getById(Integer id);

	List<SponsorDO> listAll();

	List<SponsorDO> listPage(String keyword, int pageNumber, int pageSize);

	int countTotal(String keyword);

}
